#include"stdio.h"
struct student {
	char num[20];
	char name[10];
	int age;
	char sex;
	float score;
};
int main()
{
	int a;
	struct student t1 = { "0011","zhang",21,'f',87.5 };
	printf("--------date--------\n");
	printf("t1.num[2]:%d->%c\n",t1.num[2],t1.num[2]);
	printf("t1.num[3]:%c\n", t1.num[3]);
	printf("--------output--------\n");
	printf("num\tname\tsex\tage\tscore\n");
	printf("%s\t", t1.num);
	printf("%s\t", t1.name);
	printf("%c\t", t1.sex);
	printf("%d\t", t1.age);
	printf("%.2f\t", t1.score);






}
